class RemoveEntryProcess implements Runnable {
      
    def entry
    def indexService
      
    public void run() {
        if (entry) {
            if (indexService.removeIndex(entry.id)) {                
                entry.delete()
            }            
        }         
    }

}
